home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
usr
/
include
/
aal
/
bitops.h
next >
Wrap
C/C++ Source or Header
|
2006-01-09
|
1KB
|
38 lines
/* Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by
libaal/COPYING.
bitops.h -- bitops functions. */
#ifndef AAL_BITOPS_H
#define AAL_BITOPS_H
#ifndef ENABLE_MINIMAL
typedef unsigned long long bit_t;
extern inline int aal_set_bit(void *map, bit_t nr);
extern inline int aal_clear_bit(void *map, bit_t nr);
extern inline int aal_test_bit(void *map, bit_t nr);
extern inline bit_t aal_find_first_zero_bit(void *map, bit_t size);
extern inline bit_t aal_find_next_zero_bit(void *map, bit_t size,
bit_t offset);
extern inline bit_t aal_find_next_set_bit(void *map, bit_t size,
bit_t offset);
extern inline bit_t aal_find_zero_bits(void *map, bit_t size,
bit_t *start, bit_t count);
extern inline bit_t aal_find_set_bits(void *map, bit_t size,
bit_t *start, bit_t count);
extern inline void aal_clear_bits(void *map, bit_t start,
bit_t count);
extern inline void aal_set_bits(void *map, bit_t start,
bit_t count);
#endif
#endif